package com.myjar.excel.v2;

import java.util.LinkedList;
import java.util.List;

public class ReadLogger<T> extends ErrorLogger<T> {


    private List<T> data = new LinkedList<>();

    public ReadLogger(_Workbook workbook) {
        super(workbook);
    }

    @Override
    public void push(T t) {
        data.add(t);
    }

    @Override
    public List<T> poll() {
        return data;
    }


}
